//导入request.js工具
import request from '@/utils/request.js'
//获取全部学生信息
export const StudentPageService=(model)=>{
    return request.post("/sStudent/adm/sStudent",model);
}
//获取全部院系信息
export const getDeptListService=()=>{
    return request.post("/sportsProject/getDeptSelectList");
}
//获取院系下专业信息
export const getMajorListService=(model)=>{
    return request.post("/sportsProject/getMajorSelectList",model);
}
//获取专业下班级信息
export const getClassListService=(model)=>{
    return request.post("/sportsProject/getClassSelectList",model);
}
//根据ID删除学生
export const deleteStudentByID=(model)=>{
    return request.post("/sStudent/adm/deleteStudent",model)
}
//根据ID查询学生信息
export const getStudentByID=(model)=>{
    return request.post("/sStudent/adm/getStudentByID",model)
}
//根据ID修改学生信息
export const updateStudentByID=(model)=>{
    return request.post("/sStudent/adm/updateStudent",model)
}